<?php
/**
 * Created by JetBrains PhpStorm.
 * User: ishowshao
 * Date: 11-10-26
 * Time: 下午6:35
 * To change this template use File | Settings | File Templates.
 */

include_once 'paperblog.php';
checkLogin();
$postIndex = getPostIndex();
foreach ($postIndex as $id) {
    echo "compile post $id ...\n";
    compilePostById($id);
}